In the Application field, enter the full path to theVBoxHeadless.exe application,which allows you to start a VM without a graphical interface.
If you installed VirtualBox in the default location, this is:
C:\Program Files\Oracle\VirtualBox\VBoxHeadless.exeIn the Arguments field, enter:
-startvm ""where is the name of the VirtualBox VM you would like to start automatically.We have specified "Windows Server 2022" in this tutorial.Note: Instead of starting your VM by name, can launch it using the VM's unique identifier (UUID).To do so, specify parameter -s (instead of -startvm),where is the identifier for your VM.You can list your VM's UUIDs by runningVboxmanage.exe list vmsfrom the VirtualBox installation folder.
In the Start the application field, select Automatically, but shortly after the computer boots.
This setting — which delays VM startup by about 2 minutes — should ensure that critical system services(like networking and domain authentication) are ready and waiting when your virtual machine is launched in the background.
In the Name field, enter the name that you will call this application in AlwaysUp.We have specified "Windows Server 2022 VM" but you can enter virtually anything you like.